package com.scalar.chiptrack.adaptor.umc;

import com.scalar.chiptrack.utils.StringUtils;


public final class UMCWipSummary
{
    private String fabId = null;
    private String lot = null;
    private String wipQty = null;
    private String waferNo = null;
    private String stage = null;
    private String po = null;
    private String process = null;
    private String processVersion = null;
    private String shpPrdNo = null;
    private String custPart = null;
    private String ctmDevice = null;
    private String prdNo = null;
    private String routeSequence = null;
    private String routePosition = null;
    private String routeDesc = null;
    private String wsDate = null;
    private String wsQty = null;
    private String grossDie = null;
    private String inTime = null;
    private String woFcstDate = null;
    private String woDate = null;
    private String shipFcstDate = null;
    private String shipConfDate = null;
    private String priority = null;
    private String lotStatus = null;
    private String reticleVersion = null;
    private String customerLot = null;
    private String processGen = null;
    private String processFamily = null;
    private String lotType = null;
    private String stayDay = null;
    private String backDay = null;
    private String shipToId = null;
    private String layer = null;
    private String layerPosition = null;


    public String getLayerPosition() {
        return layerPosition;
    }

    public void setLayerPosition(String layerPosition) {
        this.layerPosition = layerPosition;
    }

    public String getFabId() {
        return fabId;
    }

    public void setFabId(String fabId) {
        this.fabId = fabId;
    }

    public String getLot() {
        return lot;
    }

    public void setLot(String lot)
    {
        if ( "-".equalsIgnoreCase( lot) == false )
        {
            this.lot = lot;
        }
    }

    public String getWipQty() {
        return wipQty;
    }

    public void setWipQty(String wipQty) {
        this.wipQty = wipQty;
    }

    public String getWaferNo() {
        return waferNo;
    }

    public void setWaferNo(String waferNo) {
        this.waferNo = waferNo;
    }

    public String getStage() {
        return stage;
    }

    public void setStage(String stage)
    {
        if ( "-".equalsIgnoreCase( stage ) == false)
        {
            this.stage = stage;
        }
    }

    public String getPo() {
        return po;
    }

    public void setPo(String po) {
        this.po = po;
    }

    public String getProcess() {
        return process;
    }

    public void setProcess(String process) {
        this.process = process;
    }

    public String getProcessVersion() {
        return processVersion;
    }

    public void setProcessVersion(String processVersion) {
        this.processVersion = processVersion;
    }

    public String getShpPrdNo() {
        return shpPrdNo;
    }

    public void setShpPrdNo(String shpPrdNo)
    {
        if ( "-".equalsIgnoreCase( shpPrdNo ) == false )
        {
            this.shpPrdNo = shpPrdNo;
        }
    }
    
    public String getCustPart() {
        return custPart;
    }

    public void setCustPart(String custPart) {
        this.custPart = custPart;
    }

    public String getCtmDevice() {
        return ctmDevice;
    }

    public void setCtmDevice(String ctmDevice) {
        this.ctmDevice = ctmDevice;
    }

    public String getPrdNo() {
        return prdNo;
    }

    public void setPrdNo(String prdNo) {
        this.prdNo = prdNo;
    }

    public String getRouteSequence() {
        return routeSequence;
    }

    public void setRouteSequence(String routeSequence)
    {
        if ( "-".equalsIgnoreCase( routeSequence ) == false )
        {
            this.routeSequence = routeSequence;
        }
    }

    public String getRoutePosition() {
        return routePosition;
    }

    public void setRoutePosition(String routePosition)
    {
        if ( "-".equalsIgnoreCase( routePosition ) == false )
        {
            this.routePosition = routePosition;
        }
    }

    public String getRouteDesc() {
        return routeDesc;
    }

    public void setRouteDesc(String routeDesc)
    {
        if ( "-".equalsIgnoreCase( routeDesc ) == false )
        {
            this.routeDesc = routeDesc;
        }
    }

    public String getWsDate() {
        return wsDate;
    }

    public void setWsDate(String wsDate) {
        this.wsDate = wsDate;
    }

    public String getWsQty() {
        return wsQty;
    }

    public void setWsQty(String wsQty) {
        this.wsQty = wsQty;
    }

    public String getGrossDie() {
        return grossDie;
    }

    public void setGrossDie(String grossDie) {
        this.grossDie = grossDie;
    }

    public String getInTime() {
        return inTime;
    }

    public void setInTime(String inTime) {
        this.inTime = StringUtils.formatDate( inTime , "yyyy/MM/dd", "yyyy/MM/dd");
    }

    public String getWoFcstDate() {
        return woFcstDate;
    }

    public void setWoFcstDate(String woFcstDate) {
        this.woFcstDate = woFcstDate;
    }

    public String getWoDate() {
        return woDate;
    }

    public void setWoDate(String woDate) {
        this.woDate = woDate;
    }

    public String getShipFcstDate() {
        return shipFcstDate;
    }

    public void setShipFcstDate(String shipFcstDate)
    {
        if( shipFcstDate.trim().length() <= 0)
        {
            this.shipFcstDate= null;
        }
        else
        {
            this.shipFcstDate = StringUtils.formatDate( shipFcstDate, "yyyy/MM/dd", "yyyy/MM/dd");
        }
    }

    public String getShipConfDate() {
        return shipConfDate;
    }

    public void setShipConfDate(String shipConfDate) {
        this.shipConfDate = shipConfDate;
    }

    public String getPriority() {
        return priority;
    }

    public void setPriority(String priority)
    {
        this.priority  = priority;
     }

    public String getLotStatus() {
        return lotStatus;
    }

    public void setLotStatus(String lotStatus)
    {
        this.lotStatus = lotStatus;
    }

    public String getReticleVersion() {
        return reticleVersion;
    }

    public void setReticleVersion(String reticleVersion) {
        this.reticleVersion = reticleVersion;
    }

    public String getCustomerLot() {
        return customerLot;
    }

    public void setCustomerLot(String customerLot) {
        this.customerLot = customerLot;
    }

    public String getProcessGen() {
        return processGen;
    }

    public void setProcessGen(String processGen) {
        this.processGen = processGen;
    }

    public String getProcessFamily() {
        return processFamily;
    }

    public void setProcessFamily(String processFamily) {
        this.processFamily = processFamily;
    }

    public String getLotType() {
        return lotType;
    }

    public void setLotType(String lotType)
    {
       this.lotType = lotType;
    }

    public String getStayDay() {
        return stayDay;
    }

    public void setStayDay(String stayDay) {
        this.stayDay = stayDay;
    }

    public String getBackDay() {
        return backDay;
    }

    public void setBackDay(String backDay) {
        this.backDay = backDay;
    }

    public String getShipToId() {
        return shipToId;
    }

    public void setShipToId(String shipToId) {
        this.shipToId = shipToId;
    }

    public String getLayer() {
        return layer;
    }

    public void setLayer(String layer) {
        this.layer = layer;
    }


}